CC=g++ 

CFLAGS=-g -Wall -ansi -D_REENTRANT -c 
INCLUDES=-I/usr/include/c++/4.4
LIBS=-L/usr/lib/nptl


OBJECTS=GrapthGeneralOp.o Grapth.o path.o createGrapth.o Node.o
PowerSaving:$(OBJECTS)
#	$(CC) -o $@ $<  #just pick the first item GrapthGeneralOp.o 
	$(CC) -o $@ GrapthGeneralOp.o Grapth.o path.o createGrapth.o Node.o -lpthread



#thread_base.o:thread_base.c
#	$(CC) $(CFLAGS) $< -o $@


%.o:%.cpp
	$(CC) $(INCLUDES) $(CFLAGS) $<  -o $@ 



